# -*- coding: utf-8 -*-
from ..base import ComponentAPI


class CollectionsMonitor(object):
    """Collections of Monitor APIS"""

    def __init__(self, client):
        self.client = client

        self.get_alarms = ComponentAPI(
            client=self.client, method='GET',
            path='/api/c/compapi{bk_api_ver}/monitor/get_alarms/',
            description=u'获取告警'
        )
        self.alarm_instance = ComponentAPI(
            client=self.client, method='GET',
            path='/api/c/compapi{bk_api_ver}/monitor/alarm_instance/',
            description=u'返回指定告警'
        )
